Ruby equivalent to .NET's Encoding.ASCII.GetString(byte[])

Posted by flyerhzm on Stack Overflow See other posts from Stack Overflow or by flyerhzm
Published on 2010-06-03T15:15:55Z Indexed on 2010/06/03 15:24 UTC
Read the original article Hit count: 134

Filed under:
|

Does Ruby have an equivalent to .NET's Encoding.ASCII.GetString(byte[])?

Encoding.ASCII.GetString(bytes[]) takes an array of bytes and returns a string after decoding the bytes using the ASCII encoding.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ruby